package commands

import (
	"github.com/goravel/framework/contracts/console"
	"github.com/goravel/framework/contracts/console/command"
	"github.com/goravel/framework/facades"
)

type EchoCheck struct {
}

// Signature The name and signature of the console command.
func (receiver *EchoCheck) Signature() string {
	return "cmd:echo_check"
}

// Description The console command description.
func (receiver *EchoCheck) Description() string {
	return "Command description"
}

// Extend The console command extend.
func (receiver *EchoCheck) Extend() command.Extend {
	return command.Extend{}
}

// Handle Execute the console command.
func (receiver *EchoCheck) Handle(ctx console.Context) error {
	facades.Log().Info("echo is success...")
	return nil
}
